import java.time.ZonedDateTime;

public class T2 {
    public static void main(String[] args) {
        ZonedDateTime zbj=ZonedDateTime.now();//默认时区
        System.out.print(zbj);
        //2020-07-21T09:45:06.431+08:00[Asia/Shanghai]
    }
}
